feat(fleet): delegation feasibility check (additive, plugin-owned) - #12
Open
Baal-TehDriverman wants to merge 2 commits into
Open
feat(fleet): delegation feasibility check (additive, plugin-owned)#12Baal-TehDriverman wants to merge 2 commits into
Baal-TehDriverman wants to merge 2 commits into
Conversation
Can a bot's subtree absorb a delegation before routing it? This adds can_delegate_to(graph, sender, recipient, contract) — a purely graph-based structural check with zero protocol break and no host coupling. Pure additions to fleet_graph_core.py: - subtree_nodes(graph, node, max_depth) — BFS subordinate tree walk - subtree_depth(graph, node) — maximum tree depth below a node - can_delegate_to(graph, sender, recipient, contract) — feasibility check plugin_api.py: optional delegate_contract on POST /send, new /delegate-check endpoint for live feasibility previews in the desktop UI. Tests: 24/24 delegation feasibility tests pass. Research backing: DeAR 2608.17282 (capability grounding before routing), Formal Hierarchical 2607.11138 (stack-based depth enforcement). Author criteria alignment: plugin-owned data only, additive (no API contract changes), incremental measured improvement.
A 72-seat symbolic command overlay organized by Ars Goetia rank — Kings, Dukes, Princes, Marquises, Earls, Presidents, Knight. Uses Fleetgraph's starter pack system for preview-then-apply topology installation. Each officer is a Hermes profile with SOUL.md directives, rank metadata, and bounded operational postures. Validates cleanly through starter_pack.py (fail-closed validator).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Can a bot's subtree absorb a delegation before routing it? This adds can_delegate_to(graph, sender, recipient, contract) — a purely graph-based structural check with zero protocol break and no host coupling.
Pure additions to fleet_graph_core.py:
plugin_api.py: optional delegate_contract on POST /send, new /delegate-check endpoint for live feasibility previews in the desktop UI.
Tests: 24/24 delegation feasibility tests pass.
Research backing: DeAR 2608.17282 (capability grounding before routing), Formal Hierarchical 2607.11138 (stack-based depth enforcement).
Author criteria alignment: plugin-owned data only, additive (no API contract changes), incremental measured improvement.